<script type="text/javascript" src="./lib/jquery.jOrgChart.js "></script>
<link rel="stylesheet" href="./lib/jquery.jOrgChart.css"/>
<script>
jQuery(document).ready(function() {
        $("#org").jOrgChart({
		dragAndDrop  : false
        });
	});
</script>
<ul id="org" style="display:none">
    <li>Boss
	<ul><li>Untergebener</li></ul>    
    </li>
<?
require_once("../config.php");
$sql = "SELECT (select `surname` from `character` c where c.`_id` = `h`.`_id`), (select `surname` from `character` c where c.`_id` = `h`.`_cid`) FROM `hierarchy` h";
?>
</ul>